@import url(reset.css);

*{
 margin:0;
	padding:0;
}
html, body {
    margin:0;
	padding:0;
	height: 100%;
}

body {
	margin:0;
	padding:0;
    font: 11px/1.5em Tahoma;
    background: #f0f0ff;
}

.h {
    display: none;
}

.main {
    margin: 50px auto;
    min-width: 1170px;
    max-width: 1170px;
}

strong {
    font-weight: bold;
}

h1 {
    font: 19px Georgia, serif;
    color: #333;
}

fieldset {
    border-top: 1px #ccc solid;
    text-align: center;
}

legend {
    padding: 10px;
}

.clear {
    clear: both;
}

.events {
    margin-top: 15px;
}

.events li {
    float: left;
    margin: 5px;
    position: relative;
}

.events .img {
    display: block;
    width: 185px;
    height: 180px;
    background: #fff;
    background-size: cover;
}

.events .wide .img {
    width: 380px;
    height: 250px;
}

.events .desc {
    text-decoration: none;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.events .desc .tools {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.events .desc .title {
    font-weight: bold;
}

.event_photos {
    padding: 0 180px;
    margin: 50px 0;
}

.event_photos input {
    font: 11px Tahoma;
}

.event_photos .photo {
    margin: 5px;
    display: block;
    height:200px;
    color: #555;
}

.event_photos .photo-info {
    padding:2px 20px 2px 0 ;
    float: right; 
}

.event_photos .img {
    float:left;
    display: block;
    width: 266px;
    height: 175px;
    background: #fff;
    background-size: cover;
}

.pager {
    float:right;
    padding: 10px 0;
}

.pager .btn {
    margin-right: 5px;
}

.btn {
    padding: 5px 10px;
    background: #fff;
    border: 1px #ddd solid;
    text-decoration: none;
    border-radius: 3px;
    position: relative;
    color: #555;
}

.btn:hover, .btn-active {
    border: 1px #ccc solid;
    color: #000;
}

.btn:active, .btn-active {
    background: #ddd;
}

.btn .save-btn {
    margin-top:100px;
}

.btn-up {
    font: 11px Tahoma;
    float:left;
}

.btn-space {
   padding: 5px 9px; 
}

.ico {
    font-weight: bold;
    font-size: 17px;
    position: absolute;
    left: 3px;
    top: 3px;
}

.w-400 {
    width: 400px;
}

.w-380 {
    width: 380px;
}

.h-100 {
    height: 100px;
}

.h-90 {
    height: 90px;
}

.h-80 {
    height: 80px;
}

input {
    margin: 0;
}

input[type=text], textarea, select {
    padding: 5px;
    color: #555;
    border: 1px #ddd solid;
    border-radius: 3px;
    display: block;
    font: 13px Tahoma;
}

input[type=file] {
    width: auto;
    font: 11px Tahoma;
}

select {
    display: inline;
    padding: 4px;
    font: 11px Tahoma;
}

input[type=text]:focus, textarea:focus {
    border: 1px #ccc solid;
    color: #000;
}

table {
    white-space: nowrap;
}

table.form td {
    vertical-align: top;
    padding: 5px;
    color: #555;
}

td.field-name {
    padding: 10px 5px !important;
}

ul.menu {
	float: left;
	display:inline;
    margin-bottom: 10px;
    margin-left: 332px;
}

ul.menu li {
    display: inline-block;
    margin-right: 10px;
}

input[type=submit] {
    font: 11px Tahoma;
}

.relative {
    position: relative;
}

.center {
	margin-left:180px;
    text-align: center;
	margin-bottom:10px;
}

.mark {
    background: #fff;
    color: #000;
    position: relative;
    bottom: -2px;
    padding: 2px 0 0 2px;
}

.fullscreen {
    min-height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000;
    position: relative;
}

.fullscreen .description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    padding: 25px;
    font-size: 15px;
    background: rgba(0, 0, 0, 0.6);
}

.fullscreen .description .title {
    font: 20px Georgia, serif;
}

.fullscreen .description .text {
    margin-top: 10px;
}

.fullscreen .description .date {
    margin-top: 15px;
}

.fullscreen .description .count {
    font: 14px Georgia, serif;
    text-align: right;
}

.fullscreen .description .author {
    font: 14px Georgia, serif;
    margin-top:15px;
    text-align: right;
}

.fullscreen .description .desc-left{
   float:left; 
}

.fullscreen .description .desc-right{
   float:right; 
}

#footer {
    height: 50px;
}

table.form td.errors {
	font-size: 12px;
	color:#ff4040;
	position:relative;
	top: 5px;
}
#event_name-error {
	position:relative;
	right:95px;
    
}

#event-date-error {
    position:relative;
    right:95px;
}

#event-desc-error {
    position:relative;
    right:95px; 
}

em {
    margin-left:100px;
}
/*
.tooltip {
    padding: 5px;
}
*/
#user-info{
	color: #555;
	text-align:right;
    float:right;
	width:300px;
}

#user-info img {
    float:left;
    margin-left: 193px;
    margin-right: 2px;
    border-radius: 3px;
	height:22px;
}

#user-info span {
    line-height: 23px;
	/*font-size:14px;*/
}

#wrap-info-user {
	display:inline;
}

.add_button {
    margin-left: 5px;
}
